/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.lodz.p.ftims.ProjektZespolowy2.facades;

import pl.lodz.p.ftims.ProjektZespolowy2.entities.DayOfWeek;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Łukasz Gadomski
 */
@Stateless
public class DaysOfWeekFacade extends AbstractFacade<DayOfWeek> implements DaysOfWeekFacadeLocal {
    @PersistenceContext(unitName = "primary")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public DaysOfWeekFacade() {
        super(DayOfWeek.class);
    }
    
}
